import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
import MonorepoAliasPlugin from '@monorepo/alias-plugin'
// https://vite.dev/config/
export default defineConfig({
  plugins: [vue(),MonorepoAliasPlugin({root:__dirname})],
  resolve: {
    alias: {
      '@Mycomponents': fileURLToPath(new URL('../../packages', import.meta.url)),
    }
  },
})
